#ifndef SHELL_VAR_H
#define SHELL_VAR_H

#include <shell/shell.h>

typedef struct shell_varvar_t
{
	char name[SHELL_VAR_NAME_DIM];
	char data[SHELL_MAX_VAR_DIM];
	struct shell_varvar_t *next;
} shell_var_t;

shell_var_t *shell_vars;

int var_add(char *, char *);
int var_del(char *);
int var_set(char *, char *);
int var_ifexist(char *);
char *var_get(char *);


#endif

